Skip to content

Restore green master CI: pin cache-apt action, bump PG dev package, and Black-format datespan#86

Closed
estebanzimanyi wants to merge 2 commits into
masterfrom
fix/cache-apt-pin
Closed

Restore green master CI: pin cache-apt action, bump PG dev package, and Black-format datespan#86
estebanzimanyi wants to merge 2 commits into
masterfrom
fix/cache-apt-pin

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

The Get dependencies from apt step in test.yml used the floating @latest tag of awalsh128/cache-apt-pkgs-action, which now resolves to v1.6.0. That release inserts a new add-repository positional argument before the packages argument in its composite action and defaults empty_packages_behavior to error, so the workflow's package list lands in the wrong positional slot, the action sees an empty packages value, logs Encountered error resolving some or all package names and exits with code 3, failing every ubuntu and macos job on master before any test runs and blocking unrelated PRs. This pins the action to v1.4.3, the last release with the original five-argument contract this workflow was written against, so the package list is read correctly again.

@estebanzimanyi estebanzimanyi added the bug Something isn't working label May 17, 2026
…v package

The Get dependencies from apt step used the floating @latest tag of
awalsh128/cache-apt-pkgs-action. That tag now resolves to a release
whose composite action changed the argument contract and defaults
empty_packages_behavior to error, so the workflow's package list was
read through the wrong slot and the action exited with a resolution
error, failing every ubuntu job before any test runs. Pin to v1.4.3,
the last release with the original argument contract this workflow was
written against, so the package list is read correctly.

Also correct the PostgreSQL dev package. The list requested
postgresql-server-dev-14, which does not exist in the ubuntu-latest
runner's apt suite (now ubuntu-24.04 / noble, where the package is
unavailable). Under v1.4.3 the unresolvable name is silently dropped
from the install set (7 requested, only 6 installed), so the apt step
appears to succeed while never installing the PostgreSQL headers.
Use postgresql-server-dev-16, which exists in noble (universe), the
PostgreSQL version shipped on the current runner image.
@estebanzimanyi estebanzimanyi changed the title Pin cache-apt-pkgs-action to v1.4.3 to fix Test PyMEOS Restore green master CI: pin cache-apt action, bump PG dev package, and Black-format datespan Jul 11, 2026
@estebanzimanyi

Copy link
Copy Markdown
Member Author

Superseded by the 1.3 bump #82. Even with the cache-apt pin + PG-16 + Black fixes, master's Test jobs still fail at PyMEOS-CFFI build time (cffi.CDefError: cannot parse "extern GEOSContextHandle_t geos_get_context(void);"), so this cannot green master. #82 carries a working workflow and builds cleanly on Linux. Closing to clear the maze.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant